package edu.whcp.comp2301.dao.impl;

import edu.whcp.comp2301.dao.SourceDao;
import edu.whcp.comp2301.mapper.SourceMapper;
import edu.whcp.comp2301.pojo.Source;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SourceDaoImpl implements SourceDao {
    @Autowired
    private SourceMapper sourceMapper;

    @Override
    public List<Source> getSourceList(){
        return sourceMapper.getSourceList();
    }
}
